import type { ProColumns } from "@ant-design/pro-table";

export const tableColumns: ProColumns<any>[] = [{
    key: 'id',
    title: 'id',
    dataIndex: 'id'
}, {
    key: 'name',
    title: '名称',
    dataIndex: 'name'
}, {
    key: 'picture',
    title: '照片',
    search: false,
    dataIndex: 'picture',
    render (url: any) {
        return <img src={url} width={60}/>
    }
}, {
    key: 'job',
    title: '职位',
    dataIndex: 'job'
}, {
    key: 'create_time',
    title: '创建时间',
    dataIndex: 'create_time',
    search: false
}];